package test03;

/**
 * @author V
 * @date 2025-03-10
 */
public class Main {
    public static void main(String[] args) {
        String source = "D:\\JAVA项目\\java-study\\ch01-thread\\src\\test03\\1.jpg" ;
        String target = "D:\\JAVA项目\\java-study\\ch01-thread\\src\\test03\\2.jpg" ;

        FileData fileData = new FileData();

        CopyThread ct = new CopyThread(source,target,fileData) ;
        ProgressThread pt = new ProgressThread(fileData);
        pt.setDaemon(true);

        ct.start();
        pt.start();
    }
}